<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Use IE7 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset=UTF-8" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title><?php echo $title?></title>
<link href="<?php echo CSS_PATH?>admin.css" rel="stylesheet" type="text/css" />
<?php 
$script = array('jquery','share');
foreach ($script as $v)
{
	echo '<script type="text/javascript" src="'.JS_PATH.$v.'.js"></script>'."\r\n";
}
?>
<script type="text/javascript">
var menu = <?php echo $menu_json?>;
var jsonurl = "<?php echo site_url(array('m'=>'admin','c'=>'setting','a'=>'clear'))?>";
</script>
<script type="text/javascript" src="<?php echo JS_PATH?>index.js"></script>
</head>
<body>
<div class="back_nav">
    <div class="back_nav_list">
    <?php foreach ($back_nav as $key => $menu):?>
        <dl>
            <dt><?php echo $menu['text']?></dt>
            <?php foreach ($menu['children'] as $sub_key => $sub_menu):?>
            <dd><a href="javascript:;" onclick="openItem('<?php echo $sub_key?>','<?php echo $key?>');none_fn();"><?php echo $sub_menu['text']?></a></dd>
            <?php endforeach;?>
        </dl>
    <?php endforeach;?>
    </div>
    <div class="shadow"></div>
    <div class="close_float"><img src="<?php echo IMG_PATH?>close2.gif" /></div>
</div>
<div id="head">
    <div id="logo"><img src="<?php echo IMG_PATH?>LOGO.gif" height="48" /></div>
    <div id="menu"><span><?php L('hello')?><strong><?php echo $visitor['user_name']?></strong> <a href="javascript:;" rel="<?php echo site_url(array('m'=>'admin','c'=>'manager','a'=>'edit'))?>" id="edit_password">[<?php L('edit_password')?>]</a> <a href="<?php echo site_url('?m=admin&c=index&a=loginout')?>">[<?php L('logout')?>]</a> <a href="<?php echo site_url();?>" target="_blank">[<?php L('ute_index')?>]</a></span>
    <a href="javascript:;" class="menu_btn1" id="iframe_refresh"><?php L('refresh')?></a>
    <a href="javascript:;" class="menu_btn2" id="clear_cache"><?php L('clear_cache')?></a>
    <a href="#" id="back_btn"><img src="<?php echo IMG_PATH?>tiring_room_nav.gif" /></a>
    </div>
    <ul id="nav">
    </ul>
    <div id="headBg"></div>
</div>
<div id="content">
    <div id="left">
        <div id="leftMenus">
            <dl id="submenu">
                <dt><a class="ico1" id="submenuTitle" href="javascript:;"></a></dt>
            </dl>
            <dl id="history" class="history">
                <dt>
                    <a class="ico2" id="historyText" href="#"><?php L('action_history')?></a>
                </dt>
            </dl>
         </div>
    </div>
    <div id="right">
        <iframe frameborder="0" style="display:none;" width="100%" id="workspace"></iframe>
    </div>
</div>
</body>
</html>
